#!/usr/bin/env python3
# _*_ coding: utf-8 _*_
# @Time : 2021/10/15 20:01
# @Author : zxiaosi
# @desc : 接口汇总
from symbol import test

from fastapi import APIRouter

from apis.common import upload, student, teacher, department, major, course, taught, elective, project, caseList, \
    caseInterfaceList, weeklyReport, host, testReport, testDetail, mail, mailSender, cronTab

from testframe.interfaceTest.tester_demo import router

app_router = APIRouter()

# include_in_schema=False 隐藏属性
# deprecated=True 弃用属性

# 上传图片
app_router.include_router(upload.router, tags=["Upload"])

# common
app_router.include_router(elective.router, prefix="/elective", tags=["elective"])
app_router.include_router(department.router, prefix="/department", tags=["Department"])
app_router.include_router(major.router, prefix="/major", tags=["major"])
app_router.include_router(course.router, prefix="/course", tags=["course"])
app_router.include_router(teacher.router, prefix="/teacher", tags=["teacher"])
app_router.include_router(student.router, prefix="/student", tags=["student"])
app_router.include_router(taught.router, prefix="/taught", tags=["taught"])
app_router.include_router(project.router, prefix="/project", tags=["project"])
app_router.include_router(caseList.router, prefix="/caseList", tags=["caseList"])
app_router.include_router(caseInterfaceList.router, prefix="/caseInterfaceList", tags=["caseInterfaceList"])
app_router.include_router(weeklyReport.router, prefix="/weeklyReport", tags=["weeklyReport"])
app_router.include_router(host.router, prefix="/host", tags=["host"])
app_router.include_router(testReport.router, prefix="/testReport", tags=["testReport"])
app_router.include_router(testDetail.router, prefix="/testDetail", tags=["testDetail"])
app_router.include_router(mail.router, prefix="/mail", tags=["mail"])
app_router.include_router(mailSender.router, prefix="/mailSender", tags=["mailSender"])
app_router.include_router(cronTab.router, prefix="/cronTab", tags=["cronTab"])

app_router.include_router(router, prefix="/test", tags=["test"])

# Admin

# teacher

# student
